package com.yuyou.weixin.mapper;

import com.yuyou.weixin.vo.resp.UserAssistStatisExcel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.yuyou.weixin.entity.SrsActivityUserRelation;

import java.util.List;

@Mapper
public interface SrsActivityUserRelationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SrsActivityUserRelation record);

    SrsActivityUserRelation selectByPrimaryKey(Long id);
    
    SrsActivityUserRelation selectBySrsUserId(@Param(value="srsUserId") Long srsUserId,@Param(value="projectCode") String projectCode);

    int updateByPrimaryKeySelective(SrsActivityUserRelation record);

    List<UserAssistStatisExcel> findUserAssistStatis(String projectCode);
}